package com.kun.music.service;

import com.kun.music.domain.Consumer;

import java.util.List;

/**
 * @author fangkun
 * @create 2022-12-21-15:19
 */
public interface ConsumerService {

    List<Consumer> allUser();

    boolean addUser(Consumer consumer);

    boolean deleteUser(Integer id);

    boolean updateUser(Consumer consumer);

    boolean updateUserPic(Consumer consumer);

    List<Consumer> getUserById(int id);

    boolean login(String username, String password);

    List<Consumer> loginStatus(String username);
}
